package com.hotline.communication;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.hotline"
})
@MapperScan({
        "com.hotline.communication.mapper"
})
@Configuration
@EnableTransactionManagement(proxyTargetClass = true)
public class WebApplication {
    public static  void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}